package org.hgvc.webapp.ets.jsf.beans.admin;

import java.util.ArrayList;
import java.util.List;

import org.hgvc.webapp.ets.bo.TerminateLog;
import org.hgvc.webapp.ets.spring.service.TerminateProcService;
import org.jocsb.base.AbstractBean;
import org.jocsb.base.exception.BaseException;

public class AdminTerminateLogBean extends AbstractBean{
	public static final String BEAN_NAME="adminTerminateLogBean";
	
	private TerminateProcService terminateProcService;
	private List<TerminateLog> terminateLogList=new ArrayList<TerminateLog>();
	
	public List<TerminateLog> getTerminateLogList() {
		try{
			terminateLogList= terminateProcService.getTerminateLogList();
		}catch(BaseException be){
			initErrorBean(be);
		}
		
		return terminateLogList;
	}
	public void setTerminateProcService(TerminateProcService terminateProcService) {
		this.terminateProcService = terminateProcService;
	}
	
}
